package cn.itcast.service.impl;

import cn.itcast.dao.DaoAccount;
import cn.itcast.domain.Account;
import cn.itcast.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccountServiceImpl implements AccountService {
    @Autowired
    private DaoAccount daoAccount;
    @Override
    public List<Account> findAll() {
        return daoAccount.findAll();

    }
}
